﻿using System.Collections.Generic;
using ZilLion.Service.Core.DapperWrapper;
using ZilLion.Service.ZilLionOss.Domain.Entitys;

namespace ZilLion.Service.ZilLionOss.Domain.Repositorys.Interface
{
    public interface IOssCompanyRouteReponsitory
    {
        IList<OssCompanyRouteEntity> GetAllRoutes();
        IList<OssCompanyRouteEntity> GetRoutesByCompanykey(string companykey);
        void AddRoute(OssCompanyRouteEntity entity,UnitOfWork unit);
        void RemoveRoute(OssCompanyRouteEntity entity, UnitOfWork unit);
        void RemoveRouteByCompanykey(string companykey, UnitOfWork unit);
        void SyncRouteByMoudule(string companykey, UnitOfWork unit);



    }
}